package com.ccx.library.module.log.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ccx.library.function.source.SysLog;
import com.ccx.library.module.log.mapper.LogMapper;
import com.ccx.library.module.log.service.LogService;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class LogServiceImpl extends ServiceImpl<LogMapper, SysLog> implements LogService {
    @Resource
    private LogMapper logMapper;

    @Async
    @Override
    public Boolean Save(SysLog sysLog) {
        return logMapper.Save(sysLog);
    }
}
